package com.pluszg.nutrition.common.exception;

import com.pluszg.nutrition.common.resp.ResponseCode;

public class PlusBusinessException extends PlusException {

    private static final String DEFAULT_MESSAGE = "Invalid parameter.";

    public PlusBusinessException() {
        this(DEFAULT_MESSAGE);
    }

    public PlusBusinessException(Object object) {
        this(DEFAULT_MESSAGE, object);
    }

    public PlusBusinessException(String message) {
        this(message, null);
    }

    public PlusBusinessException(String message, Object object) {
        super(ResponseCode.INVALID_PARAM, message, object);
    }
}
